home *** CD-ROM | disk | FTP | other *** search
/ Hyper Stacks 1994 May / Hyper Stacks (Pacific HiTech)(1994)[Mac].iso / MacTools / C++ / bitmap_12530.png < prev    next >
Portable Network Graphic  |  1991-11-29  |  3.3 KB  |  468x252  |  1-bit (2 colors)
   ocr: HS you can see In the previous card, we could have turther SUD-divided the class ship into more and more specitic memberstor types of ships). Classes We have already been discussing classes so far. Classes, are abstract data types. In the previous eHample we referred to the class "ship". In C++, a class can be defined with the keywords struct, union or class. In creating a new class, you can combine functions of that class, that are called member functions and also have data, that are called data members. When you give a name to a class, as in our last eHample of ship, that name now becomes th ...